using System;
using System.Collections.Generic;

namespace Net.Common
{
    [Serializable]
    public class LoginResponse
    {
        public UserInfo userInfo;
        public string notice;
    }
    [Serializable]
    public class MatchResponse
    {
        public int waitTime;
        public int type;
    }

    [Serializable]
    public class ReadyRoomResponse
    {
        public int roomId;
        // 需要准备的总人数
        public int readyNum;
        public string teamType;
        public string TeamA;
        public string TeamB;
    }
    
    [Serializable]
    public class MatchPlayer
    {
        public int id;
        public string userName;
        public string avatar;
        public string channelId;
        public bool ready;
    }

    [Serializable]
    public class RoomResponse
    {
        public int roomId;
        public string channelId;
        public bool ready;
    }
    
    [Serializable]
    public class HeroSelectData
    {
        public int heroId;
    }

    [Serializable]
    public class HeroResponse
    {
        public int mapId;
        public List<BattleHero> battleHero;
    }

    [Serializable]
    public class BattleHero
    {
        public int heroId;
        public string channelId;
        public string userName;
    }
    
    [Serializable]
    public class PingResponse
    {
        public uint pingId;
    }
}